package com.frame.service;

import com.frame.domain.Retail;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface RetailService {

    PageInfo<Retail> list(Retail retail,Integer pageNum, Integer pageSize);

    boolean add(Retail retail);

    boolean update(Retail retail);

    boolean delete(String id);

    List<Retail> excellist();

    List<Map<String, Object>> zList();

    void inserRetail(Retail retail);

    List<Retail> getProcessList();

    Retail getById(Integer id);

    Boolean updateById( Retail retail);

    List<Retail>city(String id);
}
